package com.ywd.materials.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ywd.materials.admin.dto.query.MaterialsWarehouseQuery;
import com.ywd.materials.admin.entity.MaterialsWarehouseEntity;
import com.ywd.materials.admin.vo.MaterialsWarehousePartVo;
import com.ywd.materials.admin.vo.MaterialsWarehouseVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author:lk
 * @Date: 2025/11/12  00:23
 */
@Mapper
public interface MaterialsWarehouseMapper extends BaseMapper<MaterialsWarehouseEntity> {

    List<MaterialsWarehouseVo> getWarehousePage(@Param("query") MaterialsWarehouseQuery query);

    List<MaterialsWarehousePartVo> getNextWarehouseList(@Param("id") Long id);

}
